<{include file="header.tpl"}>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<{if $ischatactive eq true}>
<table width="100%" bgcolor="buttonshadow" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="100%"  border="0" cellspacing="1" cellpadding="2">
<tr>
<td width="100%" align="left" bgcolor="buttonface"><span class="smalltext">
<font color="#000000">&nbsp;
<{$language[conversation]}>
</font></span></td>
</tr>

<tr>
<td width="100%" align="left" bgcolor="#FFFFFF">
<{foreach key=key value=item from=$conversation}>
<span class="mediumtext">
<{if $item[type] eq "staff"}>
<span class="staffname"><{$item[name]}></span>: <span class="staffmessage"><{$item[message]}></span><br />
<{else}>
<span class="clientname"><{$item[name]}></span>: <span class="clientmessage"><{$item[message]}></span><br />
<{/if}>
<{/foreach}>
</table></td></tr>
</table>
<br/>
<table width="100%"  border="0" cellspacing="0" cellpadding="2"><tr><td align="center"><span class="smalltext"><a href="javascript:window.location.reload(true);" id="blue"><{$language[refresh]}></a><{if $ishistorytab == true}> | <a href="javascript:history.go(-1);" id="blue"><{$language[goback]}></a><{/if}></span></td></tr></table>
<{else}>
<table width="100%" bgcolor="#FFFFFF" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="100%"  border="0" cellspacing="0" cellpadding="2"><tr><td align="center"><span class="smalltext">
<font color="#000000">
<{$language[nochatactive]}>
</font></span></td></tr></table></td></tr><tr><td height="1" bgcolor="#CCCCCC"><img src="<{$themepath}>space.gif" width="1" height="1"></td></tr></table>
<{/if}>

</body>
</html>